Skip to content

Fix issue with convex hull - #2151

Open
Casper Lamboo (casperlamboo) wants to merge 5 commits into
mainfrom
convex-hull-issue
Open

Fix issue with convex hull#2151
Casper Lamboo (casperlamboo) wants to merge 5 commits into
mainfrom
convex-hull-issue

Conversation

@casperlamboo

@casperlamboo Casper Lamboo (casperlamboo) commented Oct 19, 2024

Copy link
Copy Markdown
Contributor

Description

For some cases the convex hull produces the incorrect (non-convex) results, see attached screenshot.

Screenshot 2024-10-19 at 08 59 52

In this PR a test case with the exact polygon of the example above is added along with a fix for that polygon.

Bug originally found by Thomas Rahm (@ThomasRahm)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Added a unit test showcasing the issue, with the fix the issue is resolved.

Test Configuration:

  • Operating System:

MacOS 13.3

Checklist:

  • My code follows the style guidelines of this project as described in UltiMaker Meta
  • I have read the Contribution guide
  • I have commented my code, particularly in hard-to-understand areas
  • I have uploaded any files required to test this change

CURA-13293

@casperlamboo
Casper Lamboo (casperlamboo) marked this pull request as ready for review August 14, 2026 13:53
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

31 tests   31 ✅  5s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 8f7b84b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant